home *** CD-ROM | disk | FTP | other *** search
- global PathToObjectsList, Infos
- if PathToObjectsList is empty then
- put procPath() into path
- put "Objects" after last word of path
- if there is a file path then
- put path into PathToObjectsList
- else
- answer "Create a new file List or find an old one?" with "New" or "Find" or "Cancel"
- if it is "Cancel" then exit to hypercard
- if it is "Find" then
- answer file "Please pick objects list file"
- if it is not empty and the result is not cancel then
- put it into PathToObjectsList
- end if
- else
- ask file "Please choose a location for the list file"
- if it is not empty and the result is not cancel then
- put it into PathToObjectsList
- end if
- end if
- end if
- end if
- open file PathToObjectsList
- read from file PathToObjectsList until eof
- if it is not empty then put it into Infos
- close file PathToObjectsList